<td colspan="4">
    {$arr.order_goods_name}
    <?php if($arr['bar_code_id']):?>
    <a data-title="订单管理-修改商品" data-mask="true" data-id="dialog-addGoods" data-height="400"
       data-width="800" data-toggle="dialog" class="btn btn-green"
       href="{:U('searchGoods?orderId='.$arr['order_id'].'&orderGoodsId='.$arr['order_goods_id'])}">修改商品</a>
    <a type="button" class="btn btn-red"
       href="{:U('delGoods?navTabId=Order'.$arr['order_id'].'&orderId='.$arr['order_id'].'&orderGoodsId='.$arr['order_goods_id'].'&barCodeId='.$arr['bar_code_id'])}"
       data-toggle="doajax" data-confirm-msg="确认删除该商品？"
       data-callback="delGoodsCallBack">删</a>
    商品名称：{$arr.goods_name}, 商品数量：{$arr.goods_number}, 商品颜色：{$arr.color_name},
    商品规格：{$arr.spec_name}
    <?php else:?>
    <a data-title="订单管理-添加商品" data-mask="true" data-id="dialog-addGoods" data-height="400"
       data-width="800" data-toggle="dialog" class="btn btn-red"
       href="{:U('searchGoods?orderId='.$arr['order_id'].'&orderGoodsId='.$arr['order_goods_id'])}">添加商品</a>
    <?php endif;?>
</td>